<?php
include_once 'header.php';
?>
<style>
    #body {
        height: 560px;
        width: 100%;
        background-color: #d3d3d3;
        display: flex;
        justify-content: space-around;
    }
    #body_left {
        width: 66%;
        height: 100%;
        /*background-color: white;*/
    }
    #body_right {
        width: 26%;
        height: 100%;
        /*background-color: greenyellow;*/
    }
    #fenlei {
        height: 25%;
        width: 100%;
        /*background-color: white;*/
    }
    #lianjie {
        height: 25%;
        width: 100%;
        /*background-color: white;*/
    }
    #information {
        height: 50%;
        width: 100%;
        /*background-color: white;*/
    }
    .title {
        height: 40px;
        background-color: #efeded;
        line-height: 30px;
    }
    .message {
        margin-left: 10px;
        margin-bottom: 10px;
        width: 70px;
        border: 1px solid #bbb7bb;
        float: left;
    }
    .message2 {
        margin-left: 10px;
        width: 50px;
        border: 1px solid #bbb7bb;

    }
    .message1 {
        margin-left: 10px;
    }
</style>
<div id="body_left">
    <div id="body_left_title">
        <div style="background-color: white; height: 400px;">
            <p class="title">&nbsp mybbs >> 设置</p>
            <form id="fenlei_info" method="post" action="doaction.php?action=fenlei_info&name=<?php echo $name ?>">
                <table style="margin-top:20px;margin-left:30px;height: 300px">
                    <tr>
                        <td>输入新分类名: <input type="text" name="new_fenlei"></td>
                    </tr>
                    <tr>
                        <td>分类简介:(255个字节以内)</td>
                    </tr>
                    <tr>
                        <td><textarea form="fenlei_info" name="fenlei_info" style="height:200px;width: 500px;"></textarea></td>
                    </tr>
                    <tr>
                        <td><input type="submit" name="submit" value="添加"></td>
                    </tr>
                    <tr style="height:25px; color: #acacac;">
                        <td style="font-size:10px; margin-top: 5px;">注:分类添加后不能删除,只能修改</td>
                    </tr>
                </table>
            </form>
        </div>
        <div style=" background-color: white; height: 100px;">
            <p class="title">&nbsp 修改分类</p>
            <form method="post" action="doaction.php?action=set_personal_info&name=<?php echo $name ?>">
                <table style="margin-left:30px;">
                    <tr>
                        <td>输入分类id查找: <input type="text" name="ser_id" style="width:40px;">如红色部分:n-<span style="color:red;">1</span><input type="submit" name="submit" value="查找"></td>
                    </tr>
                </table>
            </form>
        </div>
    </div>
</div>
<div id="body_right">
    <div id="fenlei">
        <div style="margin-top:10px; background-color: white; height: 120px;">
            <p class="title">&nbsp管理员面板 (MyBBS官方支持)</p>
            <div class="message"><a href="fenleiguanli.php">分类管理</a></div>
            <div class="message"><a href="fenleiguanli.php">网站设置</a></div>
            <div class="message"><a href="fenleiguanli.php">用户管理</a></div>
            <div class="message"><a href="fenleiguanli.php">链接管理</a></div>
        </div>
    </div>
</div>

<?php
include_once 'footer.php';
?>